package com.huilian.iotbox.data.vo;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 谢洛涛
 * @date 2021/9/7 17:22
 */
@Data
public class DeviceBuyOrderVo  extends QueryParam {
   private Integer id;
   private Integer userId;
    /** 订单号*/
   private String outTradeNo;
   /**支付渠道 01支付宝  02微信*/
   private String channelType;
    /**收货类型  1快递寄送  2上门自提*/
   private Integer deliveryType;
   /**模块名称*/
   private String mainBoardName;
   /**设备版本Id*/
   private String deviceVersionsName;
    /**设备通信Id*/
   private String deviceCommunicationName;
   /**设备销售价*/
   private BigDecimal price;
    /**购买数量*/
   private Integer buyCount;
   /**总金额*/
   private BigDecimal totalAmount;
   /**支付状态 0待付款  1已付款，待确认   2成功   3.失败(信息有误)*/
   private Integer status;
   private String failReason;
   private String merchantOrderNo;
   private String orderNo;

   /**收款人userId*/
   private Integer payeeUserId;

   /**收款银行名称*/
   private String payeeBankName;
   /**收款人名称*/
   private String payeeCertName;
   /**收款卡号*/
   private String payeeCardNo;
   /**付款银行名称*/
   private String paymentBankName;
   /**付款人名称*/
   private String paymentCertName;
   /**付款卡号*/
   private String paymentCardNo;
   /**充值码*/
   private String voucherCode;




   /**收件人信息*/
   private String addresseeName;
   private String addresseeMobile;
   private String addresseeProvince;
   private String addresseeCity;
   private String addresseeDistrict;
   private String addresseeAddress;

   private String expressName;

   private String expressNo;

   private Date createTime;
   private Date updateTime;

   private String name;

   private String mobile;
   private String provinceName;
   private String cityName;
   private String districtName;
   private String address;
   private String agencyName;
   private String agencyNo;

//   private String usename;

}
